home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT2.SPK / test / Makefile next >
Makefile  |  1996-11-12  |  997b  |  73 lines

  1. # makefile to test lclint using test suite provided
  2. # derived from makefile supplied
  3.  
  4. CLIBS        =    -IC:ansi
  5.  
  6. LCLINT        =    lclint
  7.  
  8. LCLINTR        =    $(LCLINT) -nof -hints
  9.  
  10. INTEGTESTS    =    db1 db2 db3
  11.  
  12. DIFF        =    diff
  13.  
  14. .IGNORE:
  15.  
  16. fulltest:
  17.     @-echo 
  18.     @-echo Testing $(LCLINT)
  19.     @-echo
  20.     @-echo Version:
  21.     @-echo
  22.     @$(LCLINT) -help version
  23.     @$(LCLINT) -help vars
  24.     @-echo
  25.     @-echo Unit Tests:
  26.     @-echo
  27.     @-amu unittests_a
  28.     @-amu unittests_b
  29.     @-echo
  30.     @-echo Integration Tests
  31.     @-echo
  32.     @-amu integtests
  33. ###
  34. ### Unit Tests
  35. ###
  36.  
  37. unittests_a:
  38.     dir test_a
  39.     @-amu
  40.     up
  41.  
  42. unittests_b:
  43.     dir test_b
  44.     @-amu
  45.     up
  46.  
  47. ###
  48. ### Integration Tests
  49. ###
  50.  
  51. integtests:
  52.     dir test_a
  53.     @-amu -f ^.makefile $(INTEGTESTS)
  54.     up
  55.  
  56. db1:
  57.     dir db1 ; @-amu check ; up
  58.  
  59. db2:
  60.     dir db2 ; @-amu check ; up
  61.  
  62. db3:
  63.     dir db3 ; @-amu check ; up
  64.  
  65. ###
  66. ### More integration tests are used locally.  If you are developing 
  67. ### LCLint send mail to evs@larch.lcs.mit.edu to obtain extra 
  68. ### integration test cases.
  69.  
  70. clean:
  71.     dir test_a ; @-amu clean ; up
  72.     dir test_b ; @-amu clean ; up
  73.